pp108 : Adding Element Bars to Controls

Adding Element Bars to Controls

This topic describes the procedure to add element bars to controls.

You can use element bars to manage data in controls grouped under grouping controls, such as the Table, Groupbox, and Tab Page controls.
Element bar comprises a control bar and a pagination bar. Control bar comprises buttons used to add, delete, or refresh control data, while pagination bar comprises buttons used for searching and navigating between records.

  1. Open the XForm in the XForms Designer.
  2. Right-click a control in the XForm, select Control bar, and select appropriate option from its submenu:
    • Select Add Item to add a button to the control bar.
    • Select Add Standard Items to add standard buttons such as (Add), (Delete), and (Refresh) to the control bar.
    • Select Delete control bar to delete it.
      The control bar displays buttons depending on the option you select.

      Note:

      • It is possible to access the above options from the context menu of the control bar, after it is added to the control.
      • You can also add the control bar to a control by selecting Control bar and Pagination bar in the Element bar options pane of the control's property sheet.
  3. Right-click the control in the XForm, select Pagination bar, and select appropriate option from its submenu:
    • Select Add Standard Items to add standard buttons such as (First), (Previous), (Find), (Next), and (Last) to the pagination bar.
    • Select Add 'Show All' to add the (Show All) button to the pagination bar. This option is available only for the Table control.
    • Select Delete pagination bar to delete it.The pagination bar displays buttons depending on the option you select.

      Note:
      It is possible to access the above options from the context menu of the pagination bar, after it is added to the control.

  4. Click . The changes made to the element bar of the control are saved.

The element bar is added to the control.

Related tasks

Adding Toolbar to an XForm
Customizing Element Bar and Toolbar Buttons